
package br.gen.seam.util.entity;

import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author Diego Araujo | diegogomesaraujo@gmail.com
 * @version 1.0
 */
public class Table {

    private Schema schema;

    private String name;

    private List<Column> columns;

    private String pathPackageBean;

    private String pathPackageDao;

    private String pathPackageEntity;

    private String packageNameBean;

    private String packageNameDao;

    private String packageNameEntity;

    public Table(){
        columns = new ArrayList<Column>();
    }

    public void addColumn(Column column){
        this.columns.add(column);
    }

    public List<Column> getColumns() {
        return columns;
    }

    public void setColumns(List<Column> columns) {
        this.columns = columns;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Schema getSchema() {
        return schema;
    }

    public void setSchema(Schema schema) {
        this.schema = schema;
    }

    @Override
    public String toString() {
        return name;
    }

    public String getPathPackageBean() {
        return pathPackageBean;
    }

    public void setPathPackageBean(String pathPackageBean) {
        this.pathPackageBean = pathPackageBean;
    }

    public String getPathPackageDao() {
        return pathPackageDao;
    }

    public void setPathPackageDao(String pathPackageDao) {
        this.pathPackageDao = pathPackageDao;
    }

    public String getPathPackageEntity() {
        return pathPackageEntity;
    }

    public void setPathPackageEntity(String pathPackageEntity) {
        this.pathPackageEntity = pathPackageEntity;
    }

    public String getPackageNameBean() {
        return packageNameBean;
    }

    public void setPackageNameBean(String packageNameBean) {
        this.packageNameBean = packageNameBean;
    }

    public String getPackageNameDao() {
        return packageNameDao;
    }

    public void setPackageNameDao(String packageNameDao) {
        this.packageNameDao = packageNameDao;
    }

    public String getPackageNameEntity() {
        return packageNameEntity;
    }

    public void setPackageNameEntity(String packageNameEntity) {
        this.packageNameEntity = packageNameEntity;
    }
    
}
